/*
 * Copyright @ 2014 com.iflysse.trains
 * manger_v2.0 下午4:12:20
 * All right reserved.
 *
 */
package com.iflysse.pojo;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;

/**
 * @desc: manger_v2.0
 * @author: Administrator
 * @createTime: 2014年11月24日 下午4:12:20
 * @history:
 * @version: v1.0
 */
public class UserRoleInfome implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private int userid;
	private int roleid;

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the userid
	 */
	public int getUserid() {
		return userid;
	}

	/**
	 * @param userid
	 *            the userid to set
	 */
	public void setUserid(int userid) {
		this.userid = userid;
	}

	/**
	 * @return the roleid
	 */
	public int getRoleid() {
		return roleid;
	}

	/**
	 * @param roleid
	 *            the roleid to set
	 */
	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return JSON.toJSONString(this);
	}
}
